forked from suharev7/clickhouse-rs
-
Notifications
You must be signed in to change notification settings - Fork 2
CI for next branch #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
azat
wants to merge
38
commits into
async-await
Choose a base branch
from
next
base: async-await
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stacktrace:
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', /home/azat/.cargo/git/checkouts/clickhouse-rs-37da3cb97e01332d/afd8ce5/src/io/transport.rs:122:31
8: core::option::Option<T>::unwrap
at /rustc/0ab38e95bb1cbf0bd038d359bdecbfa501f003a7/library/core/src/option.rs:935:21
9: clickhouse_rs::io::transport::ClickhouseTransport::clear::{{closure}}
at /home/azat/.cargo/git/checkouts/clickhouse-rs-37da3cb97e01332d/afd8ce5/src/io/transport.rs:122:29
10: clickhouse_rs::ClientHandle::ping::{{closure}}::{{closure}}
at /home/azat/.cargo/git/checkouts/clickhouse-rs-37da3cb97e01332d/afd8ce5/src/lib.rs:340:59
11: <tokio::time::timeout::Timeout<T> as core::future::future::Future>::poll
at /home/azat/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/time/timeout.rs:202:33
12: clickhouse_rs::with_timeout::{{closure}}
at /home/azat/.cargo/git/checkouts/clickhouse-rs-37da3cb97e01332d/afd8ce5/src/lib.rs:641:43
13: clickhouse_rs::ClientHandle::ping::{{closure}}
at /home/azat/.cargo/git/checkouts/clickhouse-rs-37da3cb97e01332d/afd8ce5/src/lib.rs:365:10
14: clickhouse_rs::retry_guard::check::{{closure}}
at /home/azat/.cargo/git/checkouts/clickhouse-rs-37da3cb97e01332d/afd8ce5/src/retry_guard.rs:57:14
15: clickhouse_rs::retry_guard::retry_guard::{{closure}}
at /home/azat/.cargo/git/checkouts/clickhouse-rs-37da3cb97e01332d/afd8ce5/src/retry_guard.rs:21:33
16: clickhouse_rs::ClientHandle::check_connection::{{closure}}
at /home/azat/.cargo/git/checkouts/clickhouse-rs-37da3cb97e01332d/afd8ce5/src/lib.rs:586:78
17: clickhouse_rs::ClientHandle::wrap_stream::{{closure}}
at /home/azat/.cargo/git/checkouts/clickhouse-rs-37da3cb97e01332d/afd8ce5/src/lib.rs:555:89
...
26: clickhouse_rs::with_timeout::{{closure}}
at /home/azat/.cargo/git/checkouts/clickhouse-rs-37da3cb97e01332d/afd8ce5/src/lib.rs:641:43
27: clickhouse_rs::types::query_result::QueryResult::fetch_all::{{closure}}
at /home/azat/.cargo/git/checkouts/clickhouse-rs-37da3cb97e01332d/afd8ce5/src/types/query_result/mod.rs:47:10
"services" cannot be used right now because now container depends on the repository already checkedout, while this is not true for "services". Fix this by manually starting docker as a separate step.
CI reports [1]:
---- pool::test::test_many_connection stdout ----
thread 'pool::test::test_many_connection' panicked at src/pool/mod.rs:380:9:
assertion failed: spent < Duration::from_millis(2500)
[1]: https://github.com/azat-rust/clickhouse-rs/actions/runs/7323232432/job/19945622315?pr=1
…t_concurrent_queries)
Fix possible panic in case broken protocol
Add ability to use rustls over native-tls
Previously ClickhouseTransport::poll_next did not tries to process packets if the server closed the connection, however there can be some packet (likely Exception), that we need to pass to user. Also this will avoid panic in case of missing Hello packet, i.e. in case of credentials mismatch.
* fix-panic-on-hello: ci: set CLICKHOUSE_SKIP_USER_SETUP to avoid restricting default user Fix test_size_of expectation (the size should be 64 with alignment) Properly handle terminated connection by the server Ensure that Hello packet correctly received
This reverts commit f7395a3.
* mTLS-upstream: Revert "ci: temporary enable CI for next branch" Update README about TLS features Refactor mTLS support Add mTLS support for native-tls ci: add mTLS Implement mTLS for rustls Rename certificate to ca_certificate ci: generate TLS certificates on the host for client Fix CaUsedAsEndEntity error Add ability to specify certificate Fix typo (s/DER/PEM/) ci: temporary enable CI for next branch ci: disable fail-fast for matrix (plus it is how it works before) ci: simplify TLS jobs
* client-name: Add ability to change client name
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.